<?php

class Application_Model_DbTable_Planes extends Zend_Db_Table_Abstract
{

    protected $_name = 'planes';

	public function getPlanesList() {
		$select  = $this->_db->select()
			->from($this->_name,array('key' => 'id','value' => 'plan'));

		$result = $this->getAdapter()->fetchAll($select);

		return $result;
	}

}

